/**
 * @author hhlxy
 * @version 1.0
 * @since 2025/8/5
 */
package cn.yilongquan.service;

import cn.yilongquan.user.domain.User;
import cn.yilongquan.user.query.UserQuery;
import cn.yilongquan.util.R;

import java.util.List;

public interface IUserService {
    User findById(Long id);

    List<User> findAll();

    void add(User user);

    void update(User user);

    void deleteById(Long id);

    void batchDelete(List<Long> ids);

    R pageList(UserQuery userQuery);
}
